home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / Documents / Other / fstab.txt < prev    next >
Text File  |  1993-12-25  |  3KB  |  89 lines

  1. THE PROBLEM:
  2.  
  3. Item    2176279                 93/10/12        11:40
  4. From:   LOIS@DOUBLON.UNICE.FR@INTERNET# Internet Gateway II
  5. Sub: fstab deleted: what now?!?!
  6.  
  7. I have a NeXT station that is being re-configured to
  8. attach to a new network.  In the process of deleting the old
  9. configuration to start over, someone has deleted the file
  10. "/usr/etc/fstab" and of course when it was rebooted, it
  11. couldn't mount the file system properly.  Now the problem has
  12. been given to me (a bit late!!) and I'm stumped: It fakes the
  13. root mount, and I end up, as single-user, with a read-only
  14. file system.  Thus, I cannot add the missing fstab, and I
  15. cannot unmount the "fake", read_only system and mount it
  16. properly by hand, because THAT requires updating mtab, which
  17. isn't allowed for a read_only system. (Catch-22!)
  18.  
  19. My question: is there ANY way to remedy this
  20. situation WITHOUT booting from another source? Or is my only
  21. hope to find a diskette or optical diak and reader that has
  22. the system and boot from there, mount the system by hand, and
  23. add fstab, etc, etc.  This is important because we need this
  24. computer NOW and I can't get hold of another boot source for
  25. at least a week...
  26. Thanks in advance for your help...
  27.  
  28. ---
  29. Lois Hoffer
  30.  
  31. E-mail:lois@ecu.unice.fr
  32.  
  33. ____________________________________________________________
  34. Institut Nonlineaire de Nice
  35.  
  36. Universite de Nice-Sophia Antipolis
  37. 1361 Route des Lucioles
  38. F-06560  Valbonne, France
  39.  
  40. Phone: +33.92.96.73.03      Fax: +33.93.65.25.17
  41.  
  42.  
  43.  
  44. THE SOLUTION:
  45.  
  46. Item    8127995                 93/10/12        14:37
  47. From:   M.CRAWFORD@DCS.SHEFFIELD.AC.UK@INTERNET#
  48. Sub: Re: fstab deleted: what now?!?
  49.  
  50. OK, OK already!!  :-)
  51. So I tried too hard!
  52.  
  53. Lois Hoffer had the following problem ("opportunity"?!):
  54. > I have a NeXT station that is being re-configured to attach to a new
  55. > network. In the process of deleting the old configuration to start
  56. > over, someone has deleted the file "/usr/etc/fstab" and of course
  57. > when it was rebooted, it couldn't mount the file system properly.
  58. >
  59.  
  60. The easiest way to remedy this appears to be:
  61.  
  62. (1) boot single user
  63. bsd -sb
  64.  
  65. (2) issue
  66. mount -o rw,remount /dev/sd0a /
  67.     to get r/w access.
  68.  
  69. (3) recreate /etc/fstab
  70.     e.g. include
  71. /dev/sd0a / 4.3 rw,noquota,noauto 0 1
  72.  
  73.  
  74. (4) come back up multi-user
  75.  
  76. [cf: /etc/rc.boot, and mount(8)]
  77.  
  78. Many thanks to:
  79. Fred Korz, Alan M. Marcum, Benjamin Cline, Nick Christopher,
  80.  
  81. Robert D. Nielsen, and any others in advance!
  82.  
  83. Have fun,
  84.  
  85. mmalcolm.
  86.  
  87.  
  88.  
  89.